package com.ruikong.dazhi.service.basicinfo;

import com.github.pagehelper.PageInfo;
import com.ruikong.dazhi.controller.result.BaseResult;
import com.ruikong.dazhi.entity.basicinfo.Stock;
import com.ruikong.dazhi.model.input.SearchMsgInput;
import com.ruikong.dazhi.model.input.StockPageInput;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * (Stock)表服务接口
 *
 * @author HuaJiaYi
 * @since 2021-09-09 13:22:09
 */
public interface IStockService {

    Stock queryById(Integer id);

    int insert(Stock p);

    int update(Stock p);

    int deleteById(Integer id);

    PageInfo<Stock> getStockPageList(StockPageInput input);

    Integer isExist(Stock s);

    BaseResult stockImport(MultipartFile file, Integer personnelId);
}
